package org.springframework.component;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Scope;
import org.springframework.pojo.MyCondition;
import org.springframework.pojo.YourCondition;
import org.springframework.stereotype.Component;

@Component
@Scope()
//@Conditional({MyCondition.class, YourCondition.class})
public class DogBean {

	public void say(){
		System.out.println("i am wpz");
	}
}
